package router

import (
	"database/sql"

	"gitee.com/hp-huiw/family-expense-api/internal/handler"
	"github.com/gin-gonic/gin"
)

// Sets routes for region resource.
func SetRegionRoutes(routerGroup *gin.RouterGroup, db *sql.DB) {
	h := handler.NewRegionHandler(db)

	routerGroup.GET("/query-all", h.Query)
}
